/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.swe622.rmi.client;

import java.io.File;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;
/**
 *
 * @author jasbh292
 */
public interface ClientInterface {

//    public List<ServerInfo> QueryRegistry(String filename);

     public void QueryRegistry(String filename);


	//query the registry server, returns workload (size and num of pending downloads)
	//public List<String> GetFileInfo(String filename) throws RemoteException;

	//checks to see if the server failed? File not accessible
	//public boolean IsFaulty();

	//return true if connection established
	//public boolean MakeConnection() throws RemoteException;

	//return true after upload has successfully completed
	//public boolean UploadFile(String servername, String filename, File file, long filesize) throws RemoteException;

	//return true after download has successfully completed
//	public boolean DownloadFile(String filename) throws RemoteException;

	//get Configuration information on registry stored on client machine
//	public void getConfigInfo();

	//get a list of files given a filetype
//	public void getFiles(String filetype);


}
